cmake_minimum_required(VERSION 3.10)
project(Mylib CXX)
set(CMAKE_C_COMPILER "$ENV{GCC7_HOME}/bin/gcc")
set(CMAKE_CXX_COMPILER "$ENV{GCC7_HOME}/bin/g++")
set(LIBRARY_NAME my)
set(LIBRARY_OUTPUT_PATH ..)

include_directories(./)
include_directories("$ENV{VCS_HOME}/include")

add_library(${LIBRARY_NAME} SHARED Count7.cpp)

set_target_properties(${LIBRARY_NAME} PROPERTIES
    POSITION_INDEPENDENT_CODE ON 
    COMPILE_FLAGS "-g -O0"
)
